﻿using Module.Common.Common.QiPuHelper;
using Prism.Commands;
using Prism.Ioc;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Module.CanJuPoJie.ViewModels
{
    public class CanJuContractTreeViewModel : BindableBase
    {
        private ContractTreeOfQiPu contracttree;
        public ContractTreeOfQiPu ContractTree
        {
            get { return contracttree; }
            set { SetProperty(ref contracttree, value); }
        }

        public CanJuContractTreeViewModel(IContainerProvider containerProvider)
        {
            ContractTree = containerProvider.Resolve<ContractTreeOfQiPu>();
            ContractTree.ModuleName = this.GetType().Module.Name;
            ContractTree.FileName = this.GetType().Name;
        }
    }
}
